import request from '@/utils/request'


// 新增拍卖品
export function addAuction(data) {
    return request({
      url: '/auction/add',
      method: 'post',
      data: data
    })
  }
// 查询列表
export function listAuction(query) {
    return request({
      url: '/auction/list',
      method: 'get',
      params: query
    })
  }


// 查询用户详细
export function getAuction(auctionId) {
    return request({
      url: '/auction/getAuctionById',
      method: 'post',
      data:{auctionId}
    })
  }
  